#ifndef _H_FIR_
#define _H_FIR_
#include "define.h"
typedef struct{
	float freq;
	float amp;
	float angle;
}STRZPNodeType;

extern void fir_get_zp(float freq, STRZPNodeType *zps, U16 zpssize, STRZPNodeType *calz, U16 *RN);

extern void fir_get_coef(STRZPNodeType *zps, U16 N, float df, U8 linera, float *coef);

extern void fir_filter_data(float *x, U16 n, float *firecoef, U16 firn, float *y);
#endif